package com.abel;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiachao
 * @date 2019-04-16
 */
@RestController
@RequestMapping("/spring")
public class DemoController {
    @RequestMapping("/index")
    public String index(){
        return "hello world";
    }

}
